From 35cd7657f549a6eb2df0fb8506fb7434a37787cd Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 28 Oct 2004 01:22:49 +0000 Subject: [PATCH] Remove old commented-out section which has some literals that break my editor's syntax highlighting --- includes/Parser.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/includes/Parser.php b/includes/Parser.php index f66e68fefb..2ec45cb160 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -2702,14 +2702,6 @@ class Parser "\r\n" => "\n", ); $text = str_replace(array_keys($pairs), array_values($pairs), $text); - // now with regexes - /* - $pairs = array( - "//i" => '
', - "/
/i" => "
", - ); - $text = preg_replace(array_keys($pairs), array_values($pairs), $text); - */ $text = $this->strip( $text, $stripState, false ); $text = $this->pstPass2( $text, $user ); $text = $this->unstrip( $text, $stripState ); -- 2.20.1